package cn.hanyx.coder.design.pattern.behavioral.template.callback.demo01;

/**
 * AClass
 *
 * @author hanyx
 * @date 2020/06/03
 */
public class AClass {

    public static void test01() {
        BClass b = new BClass();
        b.process(() -> System.out.println("Call back from AClass."));
    }

    public static void main(String[] args) {
        test01();
    }
}
